<div class="form-group row">
    <label for="inputUsername" class="col-sm-1 col-form-label text-right">Username:</label>
    <div class="col-sm-11">
        <input type="text" class="form-control" id="inputUsername" placeholder="Username" ng-model="user.user.username">
    </div>
</div>
<div class="form-group row">
    <label for="inputEmail" class="col-sm-1 col-form-label text-right">Email:</label>
    <div class="col-sm-11">
        <input type="text" class="form-control" id="inputEmail" placeholder="Email" ng-model="user.user.mail">
    </div>
</div>
<div class="form-group row">
    <label for="inputTel" class="col-sm-1 col-form-label text-right">Tel:</label>
    <div class="col-sm-11">
        <input type="text" class="form-control" id="inputTel" placeholder="Tel" ng-model="user.user.tel">
    </div>
</div>
<div class="form-group row">
    <label for="inputRoles" class="col-sm-1 col-form-label text-right">Roles:</label>
    <div class="col-sm-11">
        <div class="input-group">
            <input type="text" class="form-control" id="inputRoles" placeholder="Roles">
            <span class="input-group-btn">
                <button class="btn btn-default" type="button">Select</button>
            </span>
        </div>
    </div>
</div>
<div class="form-group row">
    <div class="col-sm-12 text-right">
        <button ng-click="user.cancelAddUser()" class="btn btn-warning">取消</button>
        <button ng-click="user.addUser()" class="btn btn-primary">保存</button>
    </div>
</div>